package com.uep.service.impl;

import com.uep.dao.SchoolInformationMapper;
import com.uep.entity.SchoolInformation;
import com.uep.service.SchoolInformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by XQ on 2017/2/20.
 */
@Service("SchoolInformation")
public class SchoolInformationServiceImpl implements SchoolInformationService {
    @Autowired
    SchoolInformationMapper schoolInformationMapper;

    @Override
    public SchoolInformation findSchoolName(Integer schoolNumber) {
        return schoolInformationMapper.selectSchool(schoolNumber);
    }
}
